BitsDevelopmentTeam/bits-server — pull request #14 by esseks (2013-10-23 21:35:18+00:00)
Title: Making JSON dict-wrap default in models.

Each model has a `.jsondict()` method for returning a JSON-serializable dictionary. Since 90% of times you will want such data wrapped in a dicitionary (because the client message loop expects this and because it's secured against JS exploits), I have made `wrap=True` the default behaviour.