Support new elasticsearch library, will need to do npm update