added validation for service-configurations and added one more dependency: flat .