Found a cleaner way to iterate maps using destructuring of key/value pairs.