def section_entry(name, groups, **kwargs):
    entry = {
            "klass": "Section",
            "properties": {
                "visible": 1,
                "section-name": name,
                },
            "childs": groups,
            }
    entry["properties"].update(kwargs)
    return entry