Add stats to json view