Response.get_formatted_content fixed code and added tests
fixed to use init_data