We bring in JSON as a dependency for this single API for configuring the generators: https://github.com/DUNE-DAQ/tpglibs/blob/0b221a9bbb19b7eb498924fb311bb783f6c0246d/src/TPGenerator.cpp#L14 Maps should be sufficient and would remove this dependency.