Java Class To Create Json In Php