def _serialize_dict(self, value):
        if value is None:
            return value
        return dict((k, self._serialize_value(v)) for k, v in value.items())
dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py/SerializedDictionaryField._serialize_dict/original