docs: function encodeBookWithPage(book, page) {
      var file = page.getFile();
  
      var result = encodeBook(book);
      result.page = encodePage(page, book.getSummary());
      result.file = encodeFile(file);
  
      return result;
  }