Change content_type, json to txt