% for domain, conf in sorted(domains.items()): ${domain} ${' '.join(sorted(conf.get('aliases', [])))} % endfor