feat(registry): export the addrs from a machine

do better filtering and export the addrs as json