JsonRef: fully normalize the URI passed as an argument

Use URIUtils for that, for the reasons this class mentions (scheme and hostname
should be normalized too).