Use __getitem__ and __setitem__ for model property access