use s3 dispatch for converting to pandoc options