Correct the node name from type when the type is value or "String".