add Serialization/Deserialization for FST