read and format ZooKeeperServerMain