s3:registry: add functions to conveniently create registry_values