Add todo file to json output
Improve json converter documentation
Only prepare for json if it's json
Rename toMarkdown and HTML to prepareMarkdown