Added LogMessage case classes and Json formats for them