Create alarm and system alerts in json format.

Creates:
1) system-logs.json for system alerts.
2) alerts.json for alarm events