Python Class which implements a stack of dicts, vertical key search, whiteouts