fixed the Parser clas for JSONObject and JsonArray