code: function pruneDataSourceInfo(form) {
          if (options.includeDataSources) {
            return form;
          }
  
          delete form.dataSources;
  
          form.pages = _.map(form.pages, function(page) {
            page.fields = _.map(page.fields, function(field) {
              delete field.dataSource;
              delete field.dataSourceType;
              return field;
            });
  
            return page;
          });
  
          return form;
        }
docs: Removing form data source information.