FutureOr<dynamic> decodeJson(String content) { try { return Json.decode(content); } on FormatException { return content; } }