Adding serialize_settings to utils.py and importing it in views.py