PN-Counter now uses centralised function for serialisation (in v2)
LWW-Reg now uses centralised function for serialisation