Fix a unit test regression for WebHooks.
Review Request #10457 — Created March 20, 2019 and submitted
A while back, JSON serialization for the API was changed to always
return ordered keys. This affected WebHooks, but the unit test was never
fixed up to account for this.
This change fixes up the expected WebHook payload, ordering the keys.
When I say "ordering," it's based on the
jsonmodule's method of
ordering, which orders them before converting to strings, which is why
None) is first.
Unit tests pass.