implement json request for index page visualizer