Add commas to json object definition (runtime syntax error)