presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePageSinkMetadata.java/JsonSerializableEntry/fromMap
class JsonSerializableEntry:        public static <K, V> List<JsonSerializableEntry<K, V>> fromMap(Map<K, V> map)
        {
            return map.entrySet().stream()
                    .map(entry -> new JsonSerializableEntry<>(entry.getKey(), entry.getValue()))
                    .collect(Collectors.toList());
        }