Now sends correct JSON for an event batch containing an alert.