Added first implementation of JSON export for ranking tables