Using your own event serializer