add tostrings for nodes in canonical example