Add formatting change to getImagemap method