Fixed issue with null stats result passed with json