Update to fix json payload

The last merge by technoweenie was accompanied by a code change which killed the json payload on the client side. This broke the production system hooks and was rather unpleasant to pin down and replicate.

If you insist on changing the code, please be responsible and let clients know so we can verify it