Function to convert json string or python dict into ObjectWrapper

Ah, so it is an ObjectWrapper...
Interesting. I'm actually not sure whether we can 'fix' that; it'd be nice if dict was automatically recursive, but c'est la vie. We'd have to introduce a new method, which sounds pretty gross...

You could make your deep to-dict function not care about specific types by relying on the presence of Python magic methods, as in this post: