A script that should decode JSON events.