[Python.NET] converting Pyobject to user defined type data structures