Using UriInfo for hypermedia