Remote form for, Form.serialize and parameter arrays

Whenever I use regular form for and have an attribute list containing an array all goes fine and it results in parameters like:

{"some_attributes"=>[{"title"=>"first_title", "text" => "text1"}, {"title"=>"second_title", "text"=>"text2"}]}

However whenever I submit the same form with remote_form_for then it generates the following array:

{"some_attributes"=>[{"title"=>"first_title"}, {"title"=>"second_title"}, {"text"=>"text1"}, {"text"=>"text2"}]}

Anyone know of a way to fix this so the remote_form_for submits the same parameter list as the regular form_for?

Thanks.