adds nodetype to tree converter