Serialization And Deserialization In Pyspark