normalize hash keys and values in Model#from_form