Removing deprecated mimetype in favor of response_type