Backup before experimentation... Beware...
No progress so far. Trying to change IO to typetransformation functions. Lets see how this works out