Sample code for jsonbroker for Java