js-yaml dependency update

js-yaml v2 is much faster and have compatible API.