Remove the `put_json_with_invalid_headers` helper

- In favour of just specifying the PUT directly to avoid ambiguous
  naming.