Make keys consistent with attributes.

Having the value attribute use the name key is silly. It also makes life
hard when trying to make radio + select boxes use the same data format.
Use 'value' and 'text' instead, as they match the attributes/DOM names
and don't conflict in the case of radio buttons.