refine whois output