MULE-7034: MuleEvent is not serializable when using a JDBC inbound endpoint with a nested query
(cherry picked from commit e428bef)
(cherry picked from commit 26cc11f)