I am using a Nodejs backend with server-side rendering using handlebars. After reading a doc array of objects from handlebars, which contains key \"content\" an
doc
A cleaner way to solve this issue is to use the mongoose document .toJSON() method.
let data = dbName.find({}) .exec(function(error, body) { //Some code }); data = data.toJSON() //use {{data}} on .hbs template