@override Map<String, Object?> serialize(MessagePayload payload) => (payload as TextPayload).toJson();