Save serialization info to XArray.encoding