10. In a computer having a processor and memory and further including an extensible markup language (XML) serialization stack, a method performed by the computer to convert data expressed using JavaScript Object Notation (JSON) into an XML data structure for use with a service, the method comprising: receiving a message including data expressed using JSON, wherein the JSON message includes a tree structure organization for the data; and expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original tree structure organization for the data by preserving type information from the data expressed using JSON by naming one or more elements of the XML data structure with the name of the type of data that is enclosed by the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array.
10. In a computer having a processor and memory and further including an extensible markup language (XML) serialization stack, a method performed by the computer to convert data expressed using JavaScript Object Notation (JSON) into an XML data structure for use with a service, the method comprising: receiving a message including data expressed using JSON, wherein the JSON message includes a tree structure organization for the data; and expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original tree structure organization for the data by preserving type information from the data expressed using JSON by naming one or more elements of the XML data structure with the name of the type of data that is enclosed by the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array. 12. The method of claim 10 , further comprising processing the XML data structure using a common serializer, wherein the common serializer is a serializer used for processing both messages received in XML data structures and data from received JSON messages once the data is expressed in an XML data structure.