You could do this before the `es_query` to not have to jump 3 levels into the dict.