fixed bug on serialization of vertex as value of property, issue #2761