New method for stats to return json