Fix a bug in the file format, need to pack/unpack nested array