Serializer: Don't convert type if target type is QVariant