When trying to access any custom data in onData, populated in the Reader method of the  overloaded PythonData class , I get this error 'Data' object has no attribute when accessing  x.

As a demo to the issue, in the attached sample BubbleAlgorithm backtest, I am able to access data["CAPE"].Cape , but not able to access data["CAPE"].RealEarnings.