Avoid a second pass through the tree by replacing names with appropriate synonyms when the tree is being constructed.
Canonically use -f/--format flag for tree format for all treestore subparsers.