CBOR serializer for Dancer2