This script exports templates from zabbix as json.
This module requires py-zabbix and zabbix-api module.
--url URL
--user USER
--password PASSWORD
--templates TEMPLATES
--out-dir OUT_DIR
python zabbix_export.py --url http://zabbix.example.com --user Admin --password strongpassword