Currently there is no straightforward way to generate a march string, these strings are used by down stream projects like binutils to specify the base isa and extension.
A use case I found out:
The GAS tests in binutils have a -march flag in the disassembly files, if GAS tests are to be generated from UDB we need an accurate method to generate the strings.