Fix for IZPACK-950

Generally, there should be changed the way of serialization to the installer, it is dangerous. See also IZPACK-951.