make smart rootNode like form2js