fixed source generation for arrays and objects

fixed code preview (Plain JavaScript:) for settings with array values
this code:
```js
{
  subdomain: ["t1","t2","t3","t4"]
}
```
was previously rendered as:
```js
{
  subdomains: t1,t2,t3,t4,
}
```
this code is used in pull request #98