clean tor-resolve output