added equals() and hashCode() methods to JSONObject / JSONArray