pub fn print_to_string_pretty(root: &NodeRef) -> Result<String>
Prints a node tree to a string with pretty printing.