returning the query and parsed_query as part of the favor_obj