Serializes the form properly in the session to make sure we have the full object.
Closes #255 (closed)