completed the general read_config_file function - nested and unnested dicts possible; written EDI files cannot be validated by WingLink (hopefully Windows error)

Signed-off-by: LK <LK@uni>