Converts the object to a JSON representation.
@override String toJson() { return ipv6.map((e) => e.toRadixString(16).padLeft(2, '0')).join(':'); }