Bootstrap mongoose models into BackboneJS
try Unescaped buffering with <%-chapters%> if you do not JSON.stringify on the server
chapters = new Chapters(<%- JSON.stringify(chapters) %>);
To answer your question after UPDATE, the below works for me, IF you JSON.stringify on the server side
var Chapter = Backbone.Model.extend({});var Chapters = Backbone.Collection.extend({ model: Chapter});var collection = new Chapters(<%-names%>);console.log(collection.toJSON());