flake8 conformance
Remove unused code
Name response objects consistently
Add test for existing json body decoding
Add test for www-form-urlencoded validation