Adds value-type to resource nodes