Convert handler from hash to mash