Fix ::JSON constant scope in visualization / overlay HTTP endpoint