added support for validating json body

Adds support for validating request.json_body using schemas.