@SuppressWarnings("unchecked")
  public <T> CompletableFuture<T> invokeAsync(
      String methodName, Object argument, Class<T> returnType) throws IOException {
    return invokeAsync(methodName, argument, (Type) returnType).thenApply(r -> (T) r);
  }
Invoke a JSON-RPC method asynchronously

@throws IOException if serializing the request payload fails
json-rpc-lambda-client/src/main/java/com/amazonaws/blox/jsonrpc/JsonRpcLambdaClient.java