__getitem__ returns property object instead of property value