private static MethodTuple pickBestSetter(Set<MethodTuple> tuples) {
        //TODO -- if both string and integer, which one do we pick?
        //stub for now -- just pick the first
        for (MethodTuple t : tuples) {
            return t;
        }
        return null;
    }
@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