WIP implementing mongo batch inserts. Settling on bulk_insert for public
API.