[java] Is it possible to iterate through JSONArray?