docs: function resolveLinkVariablesObject (link, record) {
      // do substitution on href if defined
      if (typeof link.href === 'string') {
          link.href = resolveVariables(link.href, record)
      }
      // do substitution on title if defined
      if (typeof link.title === 'string') {
          link.title = resolveVariables(link.title, record)
      }
  }