Don't choose result format based on :content_type, but use either :format, or :content_types.