code: def _parse_config_buffer(self, fbuffer):
          
          if len(fbuffer) < 1 or not fbuffer[0].endswith("{"):
              # Invalid input
              return {}
  
          entity = {}
          entity_type = fbuffer.pop(0)
          entity_type = entity_type.rstrip("{")
          entity["_type"] = self._trim(entity_type)
          for chunk in fbuffer:
              splitted = chunk.split("=")
              if len(splitted) < 2:
                  # If there is no '=', then it's an invalid line
                  continue
  
              key = self._trim(splitted[0])
              value = self._trim("=".join(splitted[1:]))
              entity[key] = value
  
          return entity
docs: Parse buffered chunk of config into dict