Adding ability to export status in JSON format.