Из некоторого ответа старше :
$('form input,select').toArray().reduce(function(m,e){m[e.name] = $(e).val(); return m;},{})