edit passport serialize/deserialize