changing approaches for parallelize(): java serialization needs to avoid writing headers!