pub fn build_format_trie(mapping: &HashMap<&str, &str>) -> Trie<()>
Build a trie from format mapping keys
This is useful for performance when the same mapping will be used multiple times.