agentInstances.add(new LeafDesc(key, value));
// generate a nice payload text from the paths of keys
ContextControllerTreeEntry entry = subcontexts.get(contextController);
ContextPartitionIdentifier[] keys = ContextManagerNested.getTreeCompositeKey(nestedFactories, payload, entry, subcontexts);
ContextPartitionDescriptor descriptor = new ContextPartitionDescriptor(contextPartitionOrSubPath, new ContextPartitionIdentifierNested(keys), value.getState());
agentInstanceInfo.put(contextPartitionOrSubPath, descriptor);
states.put(key, value);
}
else {
// handle non-leaf