Java Json Array Foreach Method Javascript Format Integer