Just-for-fun CBOR encoder/decoder in pure Ruby