Adjust JSON structure