Fixes uploading afm - Sometimes (usually in areas that upload files via real form submission) the javascript app needs to send things in a form-encoded way,
which means arrays look like this:  {"0" => {"stuff" => "things"}, "1" => {"stuff" => "things"}}
This before_filter turns those params into regular arrays so that the rest of the code can treat them uniformly.