Would it be possible to calculate the required unwrapping statically based on the object inspector instead of doing this match for every data item?