support new Pandoc JSON format