return (T)gson.fromJson(jsonString, t);
}
protected JsonElement callService(String operation, BaseRequestParams params) throws IOException, InternalErrorException, InvalidParamsException, InvalidRequestException, MethodNotFoundException, LimitReachedException, AuthorizationErrorException {
if(params != null) setDefaultParams(params);
Request request = new Request(operation, params);
String data = gson.toJson(request);
String jsonResponse = callService(data);
JsonElement jsonTree = new JsonParser().parse(jsonResponse);
JsonObject response = jsonTree.getAsJsonObject();