use new-style converters for path variable decode and parameter encode.
Rewrite to use explicit converter infrastructure.