How can I change this:
[{"name": "Donald"}, {"name": "George"}]
To this:
{MyArray: [{"name": "Donald"}, {"name": "George"}]}
This is for a database server I made using node.js, express and body-parser. The string is produced using the collection('name').find().toArray function.