Annotate AbstractRaftRPC with java.io.Serial