how to send parameters in a hash?

how to send parameters in a hash?

Hi all,

i have the following code from a sortable ul called #faqs

serial = $('ul#faqs').sortable('serialize',{key:'faq'});

serial = faq=1&faq=2&etc&etc

i would like something like this:

"faqs"=>["1", "2", "3", "4", "6", "5", "7", "8", "9", "10"]

Can somebody help me? Thanks a lot!