Instead of doing this, I'd suggest looking into _form_to_backend, which takes care of translating what was submitted in the form into a form suitable for the backend (that is, converting the form HTML name into the backend property names)