Rails and dojo

Hi all, I am currently expereimenting with integrating dojo into a
rails
app. It’s easy for anything related to DOM manipulation. But I couldn’t
find out how to use dojo.io.bind for ajax form submission. Dojo must be
serializing differently than prototype. Has anybody expereince with that
?
Maybe JSON-ize the form ?

regards