Hi,
Shouldn't the Data.Value be an object, currently it's a string. In order to properly assign; int, arrays, bool, etc. you have to use the SetValue("value", true) to enforce the correct serialization. Wouldn't it be easier it the Data.Value just was an object? or I'm missing something?
Best regards
Dennis