validate YAML format

Signed-off-by: mfebrianto <michaelfebrianto@gmail.com>