Refactoring PredefinedGraphPane model spec
Adding label_sets to to_hash (with rescue if they're not there)

[#46033683]