JSON data logging to IRC fixed