Use a modified version of jquery's serialize fn
Merge pull request #2665 from dimagi/serialize

Use a modified version of jquery's serialize fn