Change of the parsing of PdfGetXConfig
To use PDFGetter, it should be possible to pass a dictionary with all the config parameters as keys and values. This seems to cause an issue with the key 'mode'. Alternative would be to parse the cfg file with loadPDFConfig and to update the attributes from a provided dictionary. The output would be a PDFConfig object.