Write a function to parse and transform a large, nested JSON payload efficiently at Persistent Systems.