Also add a regression test. Closes: #1782 Preprocessor: also fix writeJsonOutput for load_params_and_steady_state (manually cherry picked from commit caef9e26)