public Map<String, Object> declaredContent() {
        ensureNotFrozen();
        return content.unmodifiableMap();
    }
Returns the content fields declared in this (i.e not including those inherited) as a read-only map.

@throws IllegalStateException if this is frozen
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfile.java