I'm trying to cover all bases so that something is displayed should a JSON blob be returned without an 'error' message, or should nothing be returned at all. It's certainly there for exceptional circumstances.

Shouldn't the front-end have some fallback for this, just in case the back-end doesn't respond as expected?