Handle array parameters

This PR allows to also send array parameters like ``password[first]``

*Before*
``array('password[first]' => 'mypassword')``

*After*
``array('password' => array('first' => 'mypassword'))``