Improve performance of split-mongo import/export performance

Nicer abstraction +1