look at Maps.transformEntries