allow *struct types for NewMapStruct()