module ObjectTraverser

def extract_from_hash(key, value)

This will return nil default if we can't find the key.

if the keys themselves are symbols, for example.
We first try to find by the raw key before we stringify
for Hashes, try to return the value by the key.
def extract_from_hash(key, value)
  if value.key?(key)
    value[key]
  elsif value.key?(key.to_s)
    value[key.to_s]
  end
end