Improve validation on config.json