code: def getStore(self) :
          
          res = {}
          res.update(self.store)
          for k, v in self.subStores.items() :
              res[k] = v.getStore()
          
          return res
docs: get the inner store as dictionary