A Freemarker macro for outputting JSON.