extract arrays to constants in Mapper
Merge pull request #10301 from vipulnsward/extract_in_mapper

extract arrays to constants in Mapper