Fixed a bug, where passing numbers as values to submitForm() would cause an error in the \WebDriver

This does fix my problem, but I am not sure, whether or not it will fix it there is a multidimsional array passed to submitForm().
Fixes #749