map Mash to Hash