Working JSON and Markdown controllers