Switched to using json loads for configuration.