protected void restate(final JSONObject jsonObject) throws JSONException {
final String msg = jsonObject.getString("message");
System.out.println("Received message: " + msg);
final JSONBuilder jso = new JSONBuilder();
jso.put("message", "i received #" + msg);
jso.put("option", "an option");
jso.addChild("child1").put("submsg1", "here").put("submsg2", "there");
update(jso.build());
}