When decoding, we are incorrectly using associative array stile which leads to issues with {} vs [] validation.
We should instead update this line to be:
$parsed = json_decode(json: $responseString, associative: false)
as well as update the exception handling appropriately.
This will likely cause breaking changes so will need a new major version number as well.