JSONArray array = new JSONArray();
JsonRpcProxy rpcProxy = JsonRpcProxy.getProxy();
array.set(0, reinstallTest.get("id"));
params.put("tests", array);
rpcProxy.rpcCall("generate_control_file", params, new JsonRpcCallback() {
@Override
public void onSuccess(JSONValue controlInfo) {
scheduleReinstallHelper(hosts, controlInfo.isObject(),
messagePrefix, listener);
}