reverse key-value pairs in a dictionary `map`,"dict((v, k) for k, v in map.items())"