A Lua custom writer for Pandoc generating JATS XML