fix: ensure that URIRefs remain as URIRefs