Added files to write logs to json
Updated the listener to add json