Add two new flags: exclude_queries and exclude_hybrids to prevent lazy evaluation of Query objects in the to_dict conversion