// the result is either a single resource or a collection
ModelNode result = response.get(RESULT);
if(ModelType.LIST==result.getType())
{
List<ModelNode> collection = result.asList();
List normalized = new ArrayList<ModelNode>(collection.size());
for(ModelNode model : collection)
{
ModelNode payload = model.get(RESULT).asObject();
assignKeyFromAddressNode(payload, model.get(ADDRESS));