In some cases of malformed JSON we're asserting instead of returning a useful error message.
Some repros:
[],[{'abc': 1}] {},[{'abc': 1}]
Passing these via json-to-bson will trigger asserts.