passing options through to js-yaml