Be more forgiving about missing __type in JSON error responses