Operator to construct nested rollups from lists of records