public void forEachField(BiConsumer<String, Object> consumer) {
        if (fields == null) return;
        fields.forEach(consumer);
    }
Receive a callback on the given object for each field in this hit.
This is more efficient than accessing the fields as a map or iterator.
container-search/src/main/java/com/yahoo/search/result/Hit.java