Support relative measurements in serialization/deserialization