JSON api for ScoreCalculator