UnexpectedResponseException.verifyResponse(response, HttpStatus.SC_OK);
List<PushApplicationEditor> applications = new ArrayList<PushApplicationEditor>();
JsonPath jsonPath = response.jsonPath();
List<Map<String, ?>> items = jsonPath.getList("");
for (int i = 0; i < items.size(); i++) {
jsonPath.setRoot("[" + i + "]");
// FIXME this might not be the right implementation
// it can actually leak values of previous implementation
PushApplicationEditor pushApplication = demarshall(context, jsonPath);
applications.add(pushApplication);