Fix saving of function curve graphs

Refs #9970
Merge branch 'feature/9970_refactor_project_serialisation' into develop