Sasha,
At Mozilla we've found it incredibly useful to have a lot of control
on JSON serialization strictly for testing:
https://github.com/davedash/django-fixture-magic
Take note of the fact that this is python, and Django doesn't need to
support all your desires, you can simply write your own
Gabriel,
For addons.mozilla.org we use this syntax:
http://github.com/jbalogh/zamboni/blob/master/settings.py#L268
In TEMPLATE_DEBUG=False, we use a minified version of these assets, in
TEMPLATE_DEBUG=True we just use the individual assets unbundled.
We have a management command which