private void serializeNodePath(
     final Serializer serializer,
     final ChangesetNode node,
     final List<String> serializedInstances) {
   final Set set = node.getSet();
   if (set.properClass().isEqualTo(S23MKernel.coreGraphs.vertex)) {
     final String content = serializer.serializeInstance(set, false).getContent();
     serializedInstances.add(content);
     final UUID uuid = node.getSet().identity().uniqueRepresentationReference();
     objectPool.addArtifact(
         uuid.toString(),
         new ObjectPoolArtifact(
             uuid,
             S23MKernel.coreGraphs.graph.identity().uniqueRepresentationReference(),
             content));
     for (final ChangesetNode childNode : node.getChildNodes()) {
       serializeNodePath(serializer, childNode, serializedInstances);
     }
   }
 }
 private void persistInstancesInMemory() {
   final Serializer serializer = SerializerHolder.getS23MInstanceSerializer(SerializationType.XML);
   final List<String> serializedInstances = serializer.serializeAllInstancesInMemory();
   persistArtifacts(serializedInstances);
 }