Module enabling aggregation of data in simple list of list or list of dicts