matched Queries
If named queries are used, the response includes a matched_queries property for each hit. There are two forms of the matched_queries response:
if include_named_queries_score was set, response includes map with named query and score
otherwise just list of the named queries. so the field is just a JsonElement with 2 extension functions:
MatchedQueries::names()
MatchedQueries::scoreByName()