Why not instance variables with JSON in?
You can try my prototype: Plugin
Looks more complicated than it is.
I manage complicated dictionaries with it.
You can do:
Add instance variable to instance, for example myobj set it default "{}"
instance.myobj = DirectData.SetToObject(object.myobj,"firstpath,secondpath","hello")
or something like
instance.myobj = DirectData.SetToObject(object.myobj,"firstpath","{""secondpath"":""hello""}")
------------------------------------
But yes, I will anyway adopt it to a behavior.