Templater Syntax issue

I’m just toying with an idea here, but would it be true to say that given the kind (like “Mortal”), there is always a smaller set of specification for that kind, so it’s something of a sub-kind or kind-specifier?

And taking that another step, would it better to actually just have those two instead of the entire list of “God”, “Mortal”, “Nymph”, … , and all the other kinds?

If this would be the case, I also envision doing this a whole lot simpler with basically a two-dimensional list like:

const kinds = {
  "God" : [ "God", "Godess" ],
  "Titan" : [ "Titan", "Titaness" ],
  "Mortal" : [ "Mereo", "King", "Villain" ],
  "Nymph" : [ "Aurae", "River", "Tree" ]
}

This could be combined into a template with only two suggester’s like in the following:

<%*
const kinds = {
  "God" : [ "God", "Godess" ],
  "Titan" : [ "Titan", "Titaness" ],
  "Mortal" : [ "Mereo", "King", "Villain" ],
  "Nymph" : [ "Aurae", "River", "Tree" ]
}

console.log(Object.keys(kinds))
const kind = await tp.system.suggester(
    (i) => i, Object.keys(kinds),
    false, "Which kind is it?")
const kind_specifier = await tp.system.suggester(
    (i) => i, kinds[kind],
    false, `What kind of a ${ kind } is it?`)
-%>
kind: <% kind %>
kind-specifier: <% kind_specifier %>

Which would lead to an output like:
image