Updating to use the official Elasticsearch API python wrapper package.