Compute hal-json:_links previous and next values