update POST registration_form to use objects rather than arrays