Set content type to JSON for AJAZ endpoints.