MULE-5685: Unformatted log line when a property is optional
(cherry picked from commit b4eba49)
(cherry picked from commit f9a60a5)
(cherry picked from commit 154c685)
(cherry picked from commit 9c9d8e9)