Fixing ActiveRecord::Store YAML coder for nil values

Closes #13570

Pretty much that's it. If there's anything to improve, I'll be happy do it! :D