fixed up but where xsd:strings that matched numbers would add @type=xsd:string to the object where xsd:string types should not be @typed