call to_string() on ip addresses