Serialization using Qt Property system