parsing the dict retrieved from config