set application/json content-type for json responses