Transform Cli from options(e.g. -g=cpp) to json

parent e6a8e572
Pipeline #95695 passed with stages
in 10 minutes and 12 seconds