Add Printers::treeToString.