Convert LogMsg data to JSON