Updated model, view, template and json collector code to use stat summary tables