convert Row in SchemaRDD into tuple for Python

then convert into namedtuple before calling map() or reduce()
make namedtuple picklable