now map is being constructed by parsing map.json