modella/mongo — pull request #20 by paulbdavis (2014-10-08 15:48:12+00:00)
Title: Parse objectid

Fix for the recursive toJSON calling in base modella which was
converting `ObjectID`s into strings before the save method is called.

Setting `{type: ObjectID}` on an attribute will cause any string value
passed in to be parsed into an `ObjectID`.