Update to Django 1.6 compatibility

Update to Django 1.6 compatibility - use json instead of deprecated simp...