Improved string formatting for Node.summary()