private void setCHBrandVersionsList(MutableUserAgent userAgent, String baseFieldName, ArrayList<Brand> brands) {
        if (brands != null) {
            int i = 0;
            for (Brand brand : brands) {
                userAgent.set(baseFieldName + '_' + i + "_Brand",   brand.getName(),   1);
                userAgent.set(baseFieldName + '_' + i + "_Version", brand.getVersion(), 1);
                i++;
            }
        }
    }
This is used to configure the provided Kryo instance if Kryo serialization is desired.
The expected type here is Object because otherwise the Kryo library becomes
a mandatory dependency on any project that uses Yauaa.

@param kryoInstance The instance of com.esotericsoftware.kryo.Kryo that needs to be configured.
analyzer/src/main/java/nl/basjes/parse/useragent/clienthints/ClientHintsAnalyzer.java