FIXED: referencing of stdClass is corrected

I corrected a bug I introduced.
Please also update composer package.