No need to convert the map to a list, the template can handle maps. See below