Changes in client
Changes in Client and Example
Added class to return Xml and Json data from array