In reply to Rachael Rivard.

PROC JSON has a lot of flexibility for writing individual objects as well as nested data. I suggest posting your case to the SAS Community and I'm sure someone will have an example for you.