Allow setting a key to serialize and deserialize from on properties.