another stdclass to array bug