Change return type of ProcessCommand

Changed return type of ProcessCommnad from GetListReponse to Object, functions calling ProcessCommand are responsible for type casting the returned Object to required class object