api: improve subdomain list format