Added and implemented methods in ClaimSettings

toTreeNode and fromTreeNode.