Name API stats methods/tests updated to support frequencyRatio as double value instead of String.