wrap JOSE URI instead of Network.URI.URI

Avoid duplicating URI FromJSON/ToJSON logic and use the URI newtype
from JOSE instead of Network.URI.URI.