Added ability to specify non default Gson object to RestClient for json serialization and deserialization.