fallback to forEach for map types that do not supply ES6 conformant keys method