Compressor throws InvalidArgumentException if given invalid data to unserialize