added a clear to JSONArray