since getUri() comes from the top level ResourceMetadata isn't is possible to consolidate these set-to-map transforms