My problem comes from getting an Iterator from a JSONObject.
Code generating error in its simplest form:
String json = client.retrieveList(); JSONObject