Introduce class to represent parse errors
Implement first half of CBOR support for serialisation