JSON responses are output as json data