ValueBuilder<DomainEventValue> builder = vbf.newValueBuilder( DomainEventValue.class );
DomainEventValue prototype = builder.prototype();
prototype.name().set( name );
prototype.entityType().set( first(Qi4j.FUNCTION_DESCRIPTOR_FOR.map( entity ).types()).getName() );
prototype.entityId().set( entity.identity().get() );
// JSON-ify parameters
JSONStringer json = new JSONStringer();
try
{