adding support for traits to send as merge vars