def elasticSearchDocsToDicts(hits):
    
    objs = []
    for hit in hits:
        objs.append(hit['_source']) 

    return objs
Convert the Elasticsearch hits into an list of dict objects
dataset/ETHPy150Open prelert/engine-python/elk_connector/elk_connector.py/elasticSearchDocsToDicts