tgriesser/bookshelf — pull request #380 by NotBobTheBuilder (2014-06-08 10:01:20+00:00)
Title: allow _pivot_ keys to be hidden in model.toJSON()

I found this really useful, since I end up dumping models through an API with little (if any) modification on the server side.

This way only information that's actually directly on the model or its relations gets shown.