Continue implementing shared references, including by moving the CBOR reader to a new class
Check cyclic references when writing arrays and maps