Looking for help interacting with stored fields returned from the search. Specifically hit.fields() returns a map of string and JsonData. How do you turn that JsonData into something you can manipulate? Thanks.
SearchRequest searchRequest = SearchRequest.of(sr -> sr
.index("index")
.source(s -> s
.fetch(true))
.storedFields(Arrays.asList("doc.test1", "doc.test2"))
.allowNoIndices(true)
.ignoreUnavailable(true)
.expandWildcards(ExpandWildcard.Open)
.query(q -> q
.ids(i -> i
.values("5ed5f-/r252/r242/5ed5f")))
);