Mongoose renaming _id to id

I'm creating an API that is using data from Mongoose. The front end (Backbone) expects id, instead of _id. I cannot seem to find an easy solution to such a simple problem. Is anyone aware of a way to rename _id to id. I want this to be default behavior across every schema.

Did you think of setting model.idAttribute to _id on the front end (Backbone). This would allow Backbone to 'transparently map that key to id'.

http://backbonejs.org/#Model-idAttribute

You can set up a schema method getItem which returns the desired fields and id = _id, if you really need that :)