Limited the length of the printed message on JSON.parse errors.