The initial plan to serve /details and /lookup endpoints from the same API call turned out to be impractical, so the API now also has deparate functions for both.
Return a consistent error response which takes into account the chosen content type. Also adds tests for V1 server glue.