fix serializer in queueStream
rename RDDFunction to TransformFunction