def METHOD_NAME(event):
    messages = _serialize_event_messages(event)
    return {
        "id": event.id,
        "content_type": MessagingEvent.CONTENT_TYPE_SLUGS.get(event.content_type, "unknown"),
        "date": event.date.isoformat(),
        "date_last_activity": event.date_last_activity.isoformat(),
        "case_id": event.case_id,
        "domain": event.parent.domain,
        "error": _serialize_event_error(event),
        "form": _serialize_event_form(event),
        'messages': messages,
        "recipient": _serialize_event_recipient(event),
        "source": _serialize_event_source(event),
        "status": _serialize_event_status(event, messages),
    }