private void serializeProperties(StringBuilder builder, ItemIdMapper itemIdMapper) {
        if (properties.isEmpty())
            return;

        builder.append(' ').append(Serializer.serializeMap(properties, itemIdMapper));
    }
Only public for the purpose of testing.
container-search/src/main/java/com/yahoo/search/query/textserialize/serializer/DispatchForm.java