IPFS ipfs = new IPFS("/ip4/10.0.42.57/tcp/11001"); Map stat = ipfs.repo.stat(true, true); This is a map, which is easier to manipulate if it can be packaged directly as an object