Tiny script to dump stats out of elasticsearch index