Make sure we return json content type for ajax requests