Pandoc library for node.js supporting JSON AST rewriting and temp file handling