def to_internal_value(self, data):
        """Deserialize the field's JSON integer data."""
        field = super(JSONIntFieldSerializer, self).to_internal_value(data)

        for k, v in field.viewitems():
            if v is not None:  # NoneType is used to unset a value
                try:
                    field[k] = int(v)
                except __HOLE__:
                    field[k] = v
                    # Do nothing, the validator will catch this later
        return field
dataset/ETHPy150Open deis/deis/controller/api/serializers.py/JSONIntFieldSerializer.to_internal_value