Implement Aggregation Functions, and return a dict mapping each function name to a dict of group label to aggregated value.