formatOutput = function (str) {
  str = kebabcase(str);

  if (str.indexOf('nth') === -1) {
    str = capitalize(str);
  }

  return str;
}
Formats a string from camelCase to hyphens and capitalizes when not
nth related
@param {string} str - The string to be formatted
@returns {string} A hyphenated (and possibly capitalized) string