Query builder for Mongo Aggregation Framework