The code seemed to handle some sort of rich object recursion in the config. None of it was being used, so deleted it all and replaced it with python stdlib