You need to find some way to make dictionary entries with identical keys look like different keys to the map.