Add a MongoDB query builder to generator