title: React-router force querystring to be an array with a single element
body: <p>I just migrated an app made with <code>react</code> and <code>react-router</code> from an old version to <code>react 0.15</code> and <code>react-router 2.0</code></p>
  
  <p>In the old version the <code>Links</code> where created like this:</p>
  
  <pre><code>&lt;Link to='route-name' query={{ids: [1]}}&gt;
    {name}
  &lt;/Link&gt;
  </code></pre>
  
  <p>This constructed a url like <code>/route/?ids[]=1</code>. That would give me in the component </p>
  
  <pre><code>this.props.query = {
    ids: ['1']
  }
  </code></pre>
  
  <p>After the upgrade the <code>Link</code> declaration was changed to:</p>
  
  <pre><code>&lt;Link to={{pathname:`/route/`, query={ids: [1]}}}&gt;
    {name}
  &lt;/Link&gt;
  </code></pre>
  
  <p>Which produces urls like <code>/route/ids=1</code>, now the Router parses the querystring like this:</p>
  
  <pre><code>this.props.location.query = {
    ids : '1'
  }
  </code></pre>
  
  <p>The only way I've managed to get an array if is the array in the link declaration has more than one element, although the url doesn't use empty brackets in the url.</p>
  
  <p>So is there a way to force the router to use an array when there is only a single element, I don't want to have to check every time if what I'm getting is an array or a string. </p>