added ability to parse DI information from a JSON config file