Use ZooKeeperUtils for map<->bytes conversion