I think it would make sense to use the [`view_object_reference`](https://github.com/puppetlabs/razor-server/blob/master/lib/razor/view.rb#L18) helper here. If you don't want the extra fields, then `view_object_url` will build the URL for you