fix bug in JSON parsing; drop JSON output elements that are the same as the default config