Create a JSON array from FileMaker list

Modified ~FM-JSON { value } script

If you look at the block that I added, I search for the carriage return character, create a list and loop through it to create a valid JSON array. So instead of getting {"myObject": "one\rtwo\rthree"}, you get {"myObject":["one", "two", "three"]}.