Convert a tree to a flat map with dot-separated keys
github.com/tibdex/tree-to-flat-map
tibdex/tree-to-flat-map