Handle JSON response for get by ID.  Produce JSON error response when JSON requested in Accept header
Fixup content type handling for search endpoint
Rename shouty Groovy script