code: def _get_key_values(self, name):
          
          results = {}
  
          for key, value in self.qs.items():
              try:
                  if not key.startswith(name):
                      continue
  
                  key_start = key.index('[') + 1
                  key_end = key.index(']')
                  item_key = key[key_start:key_end]
  
                  if ',' in value:
                      item_value = value.split(',')
                  else:
                      item_value = value
                  results.update({item_key: item_value})
              except Exception:
                  raise BadRequest("Parse error", source={'parameter': key})
  
          return results
docs: Return a dict containing key / values items for a given key, used for items like filters, page, etc.
  
          :param str name: name of the querystring parameter
          :return dict: a dict of key / values items