#90174Query generation in AJAX API doesn't consider array correctly
Description
The AJAX API is able to generate a query string based on the input it gets. This fails if an object contains a simple array as a value, the query looks like this:
Input:
{
"foo": ['a', 'b']
}
Output:
@foo=a&b@
Expected:
@foo[]=a&foo[]=b@