Define functions to convert JTT to wrapped value and back
Use wrapped value for serialization