Added some helpful debug info for poorly formed JSON configs