@SuppressWarnings("unchecked")
  @Override
  public LogEvent fromBytes(byte[] loggingEventMapBytes) {
    Map<String, Object> loggingEventMap = (Map<String, Object>) jsonSerde.fromBytes(loggingEventMapBytes);
    return decodeFromMap(loggingEventMap);
  }
Constructs the serde.

@param includeLocationInfo
         Whether to include location info in the logging event or not.
samza-log4j2/src/main/java/org/apache/samza/logging/log4j2/serializers/LoggingEventJsonSerde.java