Exportv4 cs mongodb into es

It turns out that this was actually because we were reusing a struct without clearing it and so gained extra data.