serialization/deserialization of signed license