Add a check if ValueType on returnResult before testing null - fix #812
Merge pull request #1762 from devcrafting/AllowStructAsReturnType

Fix #812 - allow to return a struct as a model for a route