Update to work with pandoc >= 1.12

Format constructor changed to newtype in Pandoc 1.12