Add generic parent class for multimap deserializing