WIP: small elasticsearch wrapper