When getaddednodeinfo is called with dns=false it returns something like this: {"result":{"addednode":"faucet.bitcoin.st","addednode":"faucet.bitxcoin.st"},"error":null,"id":null}
I expected restult to be an array, and when calling with dns=true that is also what I get. Isn't it supposed to always return an array?
I'm trying to deserialize this in Java, and that would be much easier if it always returned an array.