do not save null in text and extra text
correctly serialize multiline conditions and log messages