make node_to_string() output easier to read