`PairwiseRDD` is used to form `RDD[(Array[Byte], Array[Byte])]` from key-value pairs returned by the Python worker process; it doesn't affect how values are passed to the worker process.  I'll add a comment to clarify this.