Serializing alert payload