mapMapToMap - map a Map to a Map using a function taking two arguments and returning a pair