Change all references from uris to hrefs