create a list from the map iterator