Put json rendering utilities into one module.