unable to know how to use package to do serialize and deserialize. provide example code or mention in docs. how to use it.