Output correct links in hypermedia api.