Watch for content-type and disable serving of view if application/json is set.