In the route for getting an entity by id, e.g.
GET /api/v1/entities/1
It returns the entity object inside an array, rather than just the object itself. So I'm getting:
[{"id":1,"parent_id":null,"name":"Home","entity_type":"location","description":""}]
When I would expect:
{"id":1,"parent_id":null,"name":"Home","entity_type":"location","description":""}
The knock-on effect is that I can't then parse the JSON into an Entity class using DotNet's nice built-in JSON parser!