#1721: changed the RF model to store the original problem data directly and fixed bugs in backwards compatibility loading and saving.