I have the following complex data that would like to parse in PySpark:
records = \'[{"segmentMembership":{"ups":{"FF6KCPTR6AQ0836R&qu