private static SessionData readSessionDataFromLegacyPaths(SessionZooKeeperClient zooKeeperClient) {
        return new SessionData(zooKeeperClient.readApplicationId(),
                               zooKeeperClient.readApplicationPackageReference(),
                               zooKeeperClient.readVespaVersion(),
                               zooKeeperClient.readVersionToBuildFirst(),
                               zooKeeperClient.readCreateTime(),
                               zooKeeperClient.readDockerImageRepository(),
                               zooKeeperClient.readAthenzDomain(),
                               zooKeeperClient.readQuota(),
                               zooKeeperClient.readTenantVaults(),
                               zooKeeperClient.readTenantSecretStores(),
                               zooKeeperClient.readOperatorCertificates(),
                               zooKeeperClient.readCloudAccount(),
                               zooKeeperClient.readDataplaneTokens(),
                               zooKeeperClient.readActivationTriggers());
    }
Serialization and deserialization of session data to/from ZooKeeper.
@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionSerializer.java