change yearly stats api output format