Don't use silly serialization hack to overwrite an object, just copy the fields by hand.