Extend the `scripts-dev/sign_json` script to support signing events.