Allow different types of values to expand a path or fragment variable in a `UriTemplate` that have a reasonable String definition to ensure a valid representation