https://medium.com/@eayurt/accessing-values-in-a-hash-with-dig-in-ruby-differences-and-alternatives-7dd2b4cc80ef