json templates are improperly created

See also: https://github.com/rsyslog/rsyslog/issues/27