get the formatted content from the response