Bug fix; no response type set for api/ endpoint

Set response type to application/json in api/
endpoint

Change-Id: I2d7cf85624da2151b7991bb11b0023ee4813db32