Add the handler function's name to the generated sub command handler. Without it, it's not possible to generate to dictionary matching items in a file. Fixes #42398 Signed-off-by: Guillaume Lager <g.lager@innoseis.com>