Modified yaml loader to use js-yaml, which is better.