Add Metric instances for IntMap, Map, and HashMap