LearnBoost/mongoose — pull request #675 by jerem (2012-01-10 13:27:21+00:00)
Title: Call .toJSON() of populated objects.

When calling toJSON() on mongoose objects, toObject() is called on populated objects. This pull request fixes this and correctly call toJSON() instead.