https://www.w3.org/TR/vc-di-bbs/#verify-derived-proof-bbs-2023 takes a map and passes it through https://www.w3.org/TR/vc-di-bbs/#createverifydata into https://www.w3.org/TR/rdf-canon/#canon-algorithm, which expects an RDF dataset as input. You should explicitly parse the map into a dataset somewhere along this path.
You'll probably run into w3c/json-ld-api#579 while doing this, which appears to indicate that the JSON-LD spec doesn't have an operation you can call that converts a map into a dataset in one step.