BAG importer for mongodb