Currently have a data frame contain laptop info and the aim is to transform the data to a nested json structure. As the laptop\'s brand, price and weight are related info, t