got server side testing and parsing working for XML and also added
conversion to JSON
added an example of consuming json on the client side