Fork for adding aggregation support to NeDB