code: def _pop_entities(self, limit=50):
          
          pop = self.data['entities'][:limit]
          del self.data['entities'][:limit]
          return pop
docs: returns up to limit entities and pops them off the list