mule 4 json to string json

JavaScript
payload.^raw as String
Source

Also in JavaScript: