Consuming objects serialized by .NET XmlSerializer in Javascript and vice versa