Modified version of Andrea Rossato's citeproc-hs (for pandoc development only)