Dump the template JSON to string.