Iterate only own properties of System.map.
Make the string/object modes of System.map clearer.
Export applyMap