Refactor how properties are serialized by default.