changed trie to support a "node" type which works well with recursive fetches