B-0 refactorings done. Made serialization interface compatible with deserialization, where object is passed now as parameter rather than as a property
B-0 adapted to latest changes to serialization module