Updated JSON error message to limit full error to 80 characters.
Also added a comment to explain why.