now compatible w/ zabbix 2.2.1

modified to be compatible with the JSON validation added in zabbix 2.2.0