yaml file parsing with yaml-js