Serialize the form not the model when sending data to the server