Parses alarm events in json format.