Add before filter to ensure content type json