Backport for SP-989
Merge pull request #53 from pentaho-skarmali/SP-989_dup_ids_insert_mongodb_backport_5

Backport of PDI-11223 - Getting duplicate ID errors while doing batch inserts to MongoDB (5.0)