removed gen/ folder, fixed JSONArray bug