Storing location objects and returning an object instead of just an ID

I'm not convinced swapping the order around would be better, the JSON returned from the API is returned with the metadata first and results second plus it means swapping them around in all my tests as well as changing the order in the search component.