Use jQuery to replace form params with a JSON object on submit
<p>How would you code the function replaceFormParamsWithJsonObject(jsonObject)?</p>

<pre><code>$('#myForm').submit(replaceFormParamsWithJsonObject(jsonObject));
</code></pre>
