Serialisation

Usage

converter = ElementSerialiser()
encoded = converter.encode(dg0)
decoded = converter.decode(encoded)