This might improve the speed for CBOR, but also offer bindings to other formats, like UBJSON. https://danielaparker.github.io/jsoncons/