Update IDPException.php

In our tests, we received a string(json string), instead of an array.
By adding this code here, it's converted to an array and you get the correct exception.