Changed get-find and get-aggregation to return a QueryResult record instead of a map