docs: WriteResult writeDocument(RestClient restClient,
                                String key,
                                Boolean randomizeKeys) throws Exception {
          if (isBulkWrite) {
              writeBatchSizeWorthOfDocs(restClient, key, randomizeKeys);
          } else {
              writeSingleDoc(restClient, key, randomizeKeys);
          }
  
          return WriteResult.PROVISIONAL_RESULT_THAT_ASSUMES_ALL_WENT_WELL;
      }