Start of pandoc wrapper based on json output / input of pandoc ast