Added option to specify YAML or JSON format for zone configs.