A pipelining creator for the mongodb aggregation framework