A port of PyYAML to CommonJS