title: Grape route with array as root object
body: <p>I'm defining params for a grape route like this</p>
  
  <pre><code>    params do
        requires :array, type: Array do
            requires :foo, type: String
            requires :bar, type: String
        end
      end
  </code></pre>
  
  <p>The data for this endpoint would be <code>{"array": [{"foo": "123", "bar": "456"}]}</code>.</p>
  
  <blockquote>
    <p>How can I get rid of the additional <code>"array"</code>? The data should look like this <code>[{"foo": "123", "bar": "456"}]</code></p>
  </blockquote>
  
  <p>I can't define a type <code>Array</code> on <code>params</code>.</p>