added a bucketize to nest groupings as arrays(groupBy with multiple keys that returns arrays instead of as objects