Testing Trie with JSON dump