don't finish the bson if there is an error while parsing the json (there is an assert in that case)