[ndctl PATCH 1/3] ndctl: simplify JSON print flag handling