teams into ranking json