Actually hashes are already json as well even with to_s.

But I want ```puppet query nodes 'Class[example]'``` to return something like this:

```
foo.example.com
bar.example.com
```

rather than this:
```
"foo.example.com"
"bar.example.com"
```

As the latter only complicates shell for loops and piping to xargs etc.