If I'm following the code correctly, here we're passing `nbjson` as a string, but above in `reads_json` we're passing it as an actual dict structure. Does the validation machinery accept both?