Modified Jquery Download to serialize arrays into form data.