ALM-426 only JSON parse response if they have a JSON header