Added some pseudo code for main function in Java to JSON script