Patched _toFieldValue with safe_unicode