Make the webhook more generic by passing entire payload

From gus's review