code: def dynamize_request_items(self, batch_list):
          
          d = None
          if batch_list:
              d = {}
              for batch in batch_list:
                  batch_dict = {}
                  key_list = []
                  for key in batch.keys:
                      if isinstance(key, tuple):
                          hash_key, range_key = key
                      else:
                          hash_key = key
                          range_key = None
                      k = self.build_key_from_values(batch.table.schema,
                                                     hash_key, range_key)
                      key_list.append(k)
                  batch_dict['Keys'] = key_list
                  if batch.attributes_to_get:
                      batch_dict['AttributesToGet'] = batch.attributes_to_get
              d[batch.table.name] = batch_dict
          return d
docs: Convert a request_items parameter into the data structure
          required for Layer1.