}
return returnedList;
} else if (jsonRoot instanceof JSONObject) {
Map<Object, Object> returnedMap = new HashMap<Object, Object>();
JSONObject jsonObject = (JSONObject) jsonRoot;
for (Object o : jsonObject.keySet()) {
Object value = jsonObject.get(o);
if (value instanceof JSON) {
returnedMap.put(o, convertToPlainJavaImplementation((JSON) value));
} else {
returnedMap.put(o, value);