In that case, wrap a reference maybe?
pub struct TypeWithDifferentSerialization(&TypeWithSomeSerialization)