Added a client method to test the json webservice as console script