make sure that loggingEvent has fields property