When inserting new documents in mongodb, ids don\'t look like ObjectId and instead they look like an object.
\"_id\" : { \"_bsontype\" : \"ObjectID\"
The malformed ObjectIds are caused by a conflict with the mongoose version that mongoose-q is using. You'll need to update to mongoose-q to version 0.1.0. I was using 0.0.17 previously and saw exactly the same behavior that you saw here.