Added a bit of RDD manipulation for the classifier to return values the analyzer cares about.