There is a more complex logic in Jackson to detect if its CBOR or not, I wonder if we need it here as well?