add ptr and slice support for request vars to struct fields