Splitting json.py into smaller files
Add a core/utils.py with AttrDict class
Extract javascript from document_update.html template into document.js
Start removing "magic numbers" from document-related code