MULE-7034: MuleEvent is not serializable when using a JDBC inbound endpoint with a nested query

Code review changes