title: Query String generated by $.param() include square brackets for array
body: <p>I have an object like this:</p>
  
  <pre><code>var queryObject= {
        name: 'Shwetanka',
        subjects: ['Mathematics', 'Physics', 'Computers'],
        stream: 'science'
      };
  </code></pre>
  
  <p>When I create query string with this using <code>$.param(queryObject)</code> I get this as query string:</p>
  
  <pre><code>name=Shwetanka&amp;subjects%5B%5D=Mathematics&amp;subjects%5B%5D=Physics&amp;subjects%5B%5D=Computers&amp;stream=science
  </code></pre>
  
  <p>Expected: <code>name=Shwetanka&amp;subjects=Mathematics&amp;subjects=Physics&amp;subjects=Computers&amp;stream=science</code></p>
  
  <p>How do avoid <code>[]</code> added by the method in the query string for params with same name. In the backend I'm using <a href="http://struts.apache.org/2.x/" rel="nofollow">struts2</a> to read params.</p>