send the alarm state to json