Added graph property to serialization, and made default graph property no_property to allow serialization; fixes #5310