Don't add json content type to every response

Add it only for the json api