command line tool for dumping out an elasticsearch index