Kinvey's BL code is a sandboxed NodeJS environment, which supports ECMAScript Edition 5. Therefore you have access to the standard built in object called JSON, [mozilla docs contain api details](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify "Mozilla Docs").
Yordan