add urn when converting to_hash for oresource