Refactor config.json