Add smap support for job arrays