Pipeline:Rest - Add serializeObject to allow passing of a jQuery object ...

...containing a form to save(). Fixes AGJS-22