Added reduce-by-key support for non-int keys in sample