use correct content_type for response