I haven’t received message from Jack a while back. Anyway, here is the work for anyone interested.
There is a discourse_webhook_payload.rb inside the gz file. It generates payload format in JSON.
https://global.discourse-cdn.com/meta/original/3X/2/f/2f58dc35111add0b6baaac12e4dd3874027afed0.gz