JSON templating in C.