transform string to json in case the messsage-headers params is a string with mailgun adapter