Fixes #6446 - Forbidding non-json POST/PUT requests in v2

## Tasks
- [x] Fix any broken tests
- [x] Write new tests
Can do. I did notice though that none of the other templates aren't i18nized though.