1099945 - use correct serializer when publishing events

Previously, the default json serializer was used when publishing events. If an
event had a bson ObjectId in it, the publish would fail due to a json
serialization error.

Instead, use the serializer from json_util.