function normalizeDetails(audit) {
  if (!audit.details) return {items: [], headings: []};
  return {items: audit.details.items || [], headings: audit.details.headings || []};
}
@param {LH.AuditResult} audit
@return {Required<Pick<Required<LH.AuditResult>['details'],'items'|'headings'>>}