Fix respond_with_content_type deprecation warning