IIUC, so far the 'data-object' carries information about the structure of the data it describes.
Couldn't it go a step further and have also some functionality? Converting the data into a Python object and back?
Yes, I had considered it to do that. That's why the setfunc and getfunc functions were written the way they were.