serializers: Fixed type names for generic events.