Format of links in the rest-api with json