Use namedtuple instead of dict for returning cleaned map paths.