backend: using bulk insert to initialize mongo database