docs: function convertJSONViews(jsonViews, configuration) {
    if (!jsonViews) {
      return jsonViews;
    }
  
    const viewCatalog = configuration.views || {};
  
    jsonViews = Array.isArray(jsonViews) ? jsonViews : [jsonViews];
    return jsonViews
      .map(jsonView => {
        // Try to find a view definition
        const View = viewCatalog[jsonView.type] || DEFAULT_VIEW_CATALOG[jsonView.type];
        // Instantiate it
        if (View) {
          const viewProps = Object.assign({}, jsonView);
          delete viewProps.type;
          return new View(viewProps);
        }
        return null;
      })
      .filter(Boolean);
  }