code: function restrictSubmissionForSummary(submission) {
    submission.formFields = _.filter(submission.formFields, function(formField) {
      return CONSTANTS.FIELD_TYPES_INCLUDED_IN_SUMMARY.indexOf(formField.fieldId.type) >= 0;
    });
  
    submission.formFields = _.first(submission.formFields, CONSTANTS.NUM_FIELDS_INCLUDED_IN_SUMMARY);
  
    return submission;
  }
docs: Only Includes Fields In The Summary
  @param submission
  @returns {Object}