xml2json converter working on both client on server.