rank  gold  silver  bronze  total
0      1     3       1       0      4
1      2     1       3       0      4
2      3     0       0       3      3
3      4     0       0       1      1
4  total     4       4       4     12

Table as JSON:
{"rank":{"0":"1","1":"2","2":"3","3":"4","4":"total"},"gold":{"0":3,"1":1,"2":0,"3":0,"4":4},"silver":{"0":1,"1":3,"2":0,"3":0,"4":4},"bronze":{"0":0,"1":0,"2":3,"3":1,"4":4},"total":{"0":4,"1":4,"2":3,"3":1,"4":12}}