Convert `None` into an empty string

Without this fix, should one set, for example, the field `date` to the value `None`, we will convert the value `None` into the string `"None"`, which will not actually set the field properly.