Improve parameter name in IMemoizerModelHandler. Extract getJsonArray from MainWindow.