Updating on_event and trigger_event in the JSON correctly.