Created toList and constructor from List<Entry<...>>