Interface ProblemResponse with restframework's error handling
Unfortunately we have implemented our own format of JSON error reporting, and it's too late to switch to what restframework recommends.
We can however try to interface our ProblemResponse with restframework's APIException, possibly by overriding APIException.get_full_details
, so that we can make raisable API exceptions that generate the kind of JSON data that debusine-client expects.