fix up markdown support
Add a module to run validation and generate JSON from it.