Scripting error with json conversion now fixed