Added a spec for the json-response of the api