LWW-Reg now uses centralised function for serialisation