Update all ES queries to use Elasticsearch DSL (bug 1036168)

fwiw, I just tried it in shell, passing in an ES-DSL results object. The former way serialized fine