MULE-7123: Adding support to still serialize transient fields when they happen to be Serializable