Adapted deflate bufixes from pre-release Kryo.
Using deflate serializer for all arrays.
Added option to disable Java serialization for debugging purposes.