Successful query from mongod to csv