def to_python(self, value):
        """ Convert our string value to JSON after we load it from the DB """
        if not value:
            return {}
        elif isinstance(value, six.string_types):
            res = loads(value)
            assert isinstance(res, dict)
            return JSONDict(**res)
        else:
            return value
Convert our string value to JSON after we load it from the DB