this was my bad - we're overloading the content_type variable. should use response_type or response_content_type