Format class XNode toString method, make the sub label retract a 'tab'. eclipse "ctrl+shift+i" to watch the value of variable friendly.

Comment From: harawata

Thank you, @Dreamroute ! Please fix the broken tests and add new test cases that covers the changes so that we can review your PR.

Comment From: Dreamroute

ok