return failureResultForStatusCode(responseStatus);
JSONObject result = new JSONObject(get.getResponseBodyAsString());
ResourceProxy resource = new ResourceProxy(path);
JSONArray names = result.names();
for (int i = 0; i < names.length(); i++) {
String name = names.getString(i);
Object object = result.get(name);
if (object instanceof String) {
resource.addProperty(name, object);