avoid reflection exception when returning parameter

Alternative for https://github.com/qandidate-labs/broadway/pull/48