Json Encoder for Trie
encoder : (f -> Json.Encode.Value) -> TrieModel.Trie f -> Json.Encode.Value
Encoder for Trie.