dotnet: serpent (de)serialization of pyro classes implemented. Bugfixes.