updated serialization/deserialization of FST