added repr for the object and you can call collections now to create a new instance
added the possibility to add a class to deserialize to
added missing import
added tests for new serialize to class functionality