[syslog-ng] Performance issue with python code in template