Factored out pandoc handling to separate dockers module