If there's a JSONDecodeError, then the module should, by default, edit the message with curly braces. This needs some discussion