While rejigging my scripts to try and keep logical and more easily maintained I decided to split the entity data update script to two parts.
First part breaking down the request responce to per room and then Updating entity field with its array and then have a second script to use the individual arrays.
This will make adjusting the way the data is used seperatly to the main request script.
I simplified an unused field to test and demonstrate before " and after the "
Other fields return only {
The arrays are quite long.
Dirty work around thought would be to replace all " in the string before the .Update() with something else like ~ and restore them to " after the .Get()
But wanted to report wither way
I don’t remember the exact reason but seems like having quotes inside custom data breaks some cases so I don’t allow that. Better store it as a plain ID and construct JSON/Array string inside JScript.