rank  gold  silver  bronze  total
0     1    13       8       1     22
1     2     8       8       5     21
2     3     1       3      12     16
3     4     0       3       3      6
4     5     0       0       1      1

Table as JSON:
{"rank":{"0":1,"1":2,"2":3,"3":4,"4":5},"gold":{"0":13,"1":8,"2":1,"3":0,"4":0},"silver":{"0":8,"1":8,"2":3,"3":3,"4":0},"bronze":{"0":1,"1":5,"2":12,"3":3,"4":1},"total":{"0":22,"1":21,"2":16,"3":6,"4":1}}