Fix image.unserialize when missing keys