Dump a trie to a trie (barely tested)