Improve the build link function for hyperlinked serialiser