I am trying to loop through an array and create a JSON output based on the values in it. I am having trouble with escaping the single quotation marks:
I want the output t