Parse JSON error responses != 500

E.g. if service is unavailable (503).