Fixed extents on map load and changed ol extents into generic json extents