Serialize links