why are we changing `serialized` here ? Shouldn't this only depend on how the RDD was created (textFile vs. parallelize ?)