I guess a `map()` should suffice here? But maybe we can discuss that later.
Do we still need this logic (til Line 317) after we refined the structure in `keyboard_layouts.json`?