String method = args.get(0);
args.remove(0); // remove method from list
List<Object> typedArgs = convertParameters(method, args);
Object result;
try {
<BUG>result = client.cliSend(method, typedArgs.toArray());
</BUG>
} catch (JsonRPCException e) {
e.printStackTrace();
return 1;

String method = args.get(0);
args.remove(0); // remove method from list
List<Object> typedArgs = convertParameters(method, args);
Object result;
try {
result = client.send(method, typedArgs);
} catch (JsonRPCException e) {
e.printStackTrace();
return 1;
