Replace .toString() single quotes with double quotes
<p>Perhaps a strange request, but I'm using CouchDB views, which requires a string to be surrounded by double quotes.</p>

<p>This works:</p>

<blockquote>
  <p>?key=["test","234"]</p>
</blockquote>

<p>This won't work:</p>

<blockquote>
  <p>?key=['test','234']</p>
</blockquote>

<p>So in my NodeJS application, I'm trying to build up the correct key to pass to CouchDB</p>

<pre><code>var key1 = "test";
var key2 = "234";

{ key: [key1, key2] }
</code></pre>

<p>This always comes out as</p>

<pre><code>{ key: [ 'test', '234' ] }
</code></pre>

<p>Is there any effective way to get my desired output? (double quotes)</p>