BeanInvocation would be stored directly as the message body
do not force any type conversion attempts as it would just be unnecessary and cost a bit performance
so a regular instanceof check is sufficient