Reads domains, users, groups, mailing lists, tenants and roles from the registry with an administrator's login and writes directory.json with domains.csv, users.csv, groups.csv, lists.csv and aliases.csv. Every read names its properties, so credentials, encryption keys and DKIM keys are never fetched, and only named fields are written even if a server sends more. Ids become addresses and names; --domain keeps the export to some domains with the tenants and roles they use. CSV cells a spreadsheet would run as formulas start with '. Session::registry_account finds the account that advertises the registry, as inbuxa and upstream list it per account.