change weekly stats api output format