OpenStruct for Python