Error upon saving a form: Form data cannot be decoded