Refactor to send_formatted_response...