Serialization and deserialization of data on znode:

Add two functions list_to_zk_data and zk_data_to_list,
for transforming format of data between list and byte array.