json_encode webhook data

json_encode webhook data before setting it in the main params array,
ensuring it is correctly returned as a JSON string in the webhook
request.