Compatibility shim for replacing Measurement with QVariantMap.