Implement generic CBOR encoder and decoder classes
Remove deprecated JSON dump format