added percentile aware colouring of table, TODO: add limits to json