aggregate small data works, but the aggregated key in the hasmap cannot be called other because it can't do a comparisin in json_data.sort_by yet