moved Serialization to openpal