Either load the test map or request JSON based on the chosen environment.