Support libsdd export to JSON.
Continue program options cleanup.