Hello StevenT,
Can you please try the below:
I have used two derived columns to extract the relevant fields
In the 1st derived column: Create a new column: producttype and set the expression to: value.attributes.product_type price to: value.attributes.price
on the second derived column: create a new colum: priceinfo and set the expression to:
iif(isNull(price), '{"producttype": "' + producttype + '", "price": null}', '{"producttype": "' + producttype + '", "price": ' + toString(price) + '}')
I hope this helps.