Fixed bug where treenode would marshall as xml