fix invalid JSON value probleme with zabbix 2.2.2

In my Zabbix installation there is a problem "invalid json value"
because the last line of the array included a coma.