Fixes #5144 When the response being dispatched is an array, `var_export` it instead of `echo`