Encode string values as strings.