added support for system json
changed mimetype for content_type, works with all recent Django versions