Don't cache pandocCompilerWithTransform, refactor