fixed getting some config options + also work without libxml2, only fail when parsing xml files, json format is preffered