Added fixObject() helper function
For fixing broken objects that fail to unserialize when PHP doesn't have their definition loaded yet