Revert #15502, and add a deprecation warning instead.

This is public API, and `simple_form` depends on the `nil` return value.
We need to go through a deprecation cycle to return a null object. If
people want hash access, they can access the hash.

Closes #15877
could `.to_s` be normalized inside the `type_for_attribute` method?