Add more detail for invalid JSON