CLC-2169 Handle invalid JSON from Canvas

https://jira.media.berkeley.edu/jira/browse/CLC-2169