Use John-types instead of pandoc-types in .cabal file.