(de)serializing maps incl. tests implemented; without hashmaps