Capitalize all messages in JSON

Makes the error handler consistent with other generated messages.