1. A method for transforming structured data, wherein each structured data is an instance of one of at least one structured data type, wherein each structured data type has a type name, the method comprising: receiving a first mapping of at least one type name to at least one first identifier, wherein each first identifier uniquely identifies one structured data type; receiving the structured data wherein the structured data has the first identifiers; receiving a second mapping of the type names to second identifiers, wherein the second identifiers uniquely identify the structured data types; and modifying the structured data by: (i) mapping the first identifiers in the structured data to corresponding type names from the first mapping; (ii) mapping the corresponding type names to the second identifiers from the second mapping; and (iii) substituting the first identifiers in the structured data with the second identifiers.