Support for serializing/deserializing links