  private toView(data: any): SiteView {
    return new SiteView(data._id.toString(), data.type, data.title, data.content, data.url);
  }

  private async getCollection(): Promise<Collection> {
    const db = await this.db;
