[iOS] Don't serialize non-strings as strings.