added YAML validation #360