add request json validation support
Merge pull request #25 from bserdar/json_validation

add request json validation support