WIP: Treenode exporter: create metadata file