well shit that didn't work, plan b
APIFailure should subclass APIHandler to get json_payload.