change pagination links to be normal docjson link elements