Serialize event params