more on generating json from md