Responses interpreted correctly and corrected response validation

The json method was always called without parenthesis (as response.json()), so the result given by it was not the desired object. Also the validation was failing to indicate that, and so was the error message to communicate the problem.