Represent scores table more cleanly and transform to desired form