Pulls all of a child's keys up to the parent, with the names unchanged.

def get_hoisted(dct, child_name):
  """Pulls all of a child's keys up to the parent, with the names unchanged."""
  child = dct[child_name]
  del dct[child_name]
  dct.update(child)
  return dct