While experimenting with painless tests in a multi-node cluster I hit the following error. We're failing to serialize this type, which looks to be because it's not implementing `GenericNamedWritable` when it should.

```
[2023-10-19T01:22:02,328][WARN ][o.e.t.OutboundHandler    ] [search-MxNysuL] failed to serialize outbound message [Response{821}{false}{false}{false}{class org.elasticsearch.search.fetch.QueryFetchSearchResult}] java.lang.IllegalArgumentException: can not write type [class org.elasticsearch.script.field.IPAddress]
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:839)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.io.stream.StreamOutput.writeCollection(StreamOutput.java:1050)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.document.DocumentField.writeTo(DocumentField.java:116)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.io.stream.StreamOutput.writeWriteable(StreamOutput.java:981)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.io.stream.StreamOutput.writeMap(StreamOutput.java:602)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.common.io.stream.StreamOutput.writeMap(StreamOutput.java:610)
	at org.elasticsearch.server@8.12.0-SNAPSHOT/org.elasticsearch.search.SearchHit.writeTo(SearchHit.java:267)
```
server/src/main/java/org/elasticsearch/TransportVersions.java
public static final TransportVersion V_8_6_1 = def(8_06_01_99);
    public static final TransportVersion V_8_7_0 = def(8_07_00_99);
    public static final TransportVersion V_8_7_1 = def(8_07_01_99);
    public static final TransportVersion V_8_8_0 = def(8_08_00_99);
    public static final TransportVersion V_8_8_1 = def(8_08_01_99);
    /*
     * READ THE COMMENT BELOW THIS BLOCK OF DECLARATIONS BEFORE ADDING NEW TRANSPORT VERSIONS
     * Detached transport versions added below here.
     */
    public static final TransportVersion V_8_500_020 = def(8_500_020);
    public static final TransportVersion V_8_500_040 = def(8_500_040);
    public static final TransportVersion V_8_500_041 = def(8_500_041);
    public static final TransportVersion V_8_500_042 = def(8_500_042);
    public static final TransportVersion V_8_500_043 = def(8_500_043);
    public static final TransportVersion V_8_500_044 = def(8_500_044);
    public static final TransportVersion V_8_500_045 = def(8_500_045);
    public static final TransportVersion V_8_500_046 = def(8_500_046);
    public static final TransportVersion V_8_500_047 = def(8_500_047);
    public static final TransportVersion V_8_500_048 = def(8_500_048);
    public static final TransportVersion V_8_500_049 = def(8_500_049);
    public static final TransportVersion V_8_500_050 = def(8_500_050);
    public static final TransportVersion V_8_500_051 = def(8_500_051);
    public static final TransportVersion V_8_500_052 = def(8_500_052);
    public static final TransportVersion V_8_500_053 = def(8_500_053);
    public static final TransportVersion V_8_500_054 = def(8_500_054);
    public static final TransportVersion V_8_500_055 = def(8_500_055);
    public static final TransportVersion V_8_500_056 = def(8_500_056);
    public static final TransportVersion V_8_500_057 = def(8_500_057);
    public static final TransportVersion V_8_500_058 = def(8_500_058);
    public static final TransportVersion V_8_500_059 = def(8_500_059);