serializing and deserializing (Catel)