@Override
        public int hashCode() {
            return Objects.hash(name, method, singleParam);
        }
@param config  config to serialize
@param mode    serialization mode
@param writer  writer
@param charset charset
@throws Exception
tika-core/src/main/java/org/apache/tika/config/TikaConfigSerializer.java