       }
     } else if let contentJSON = _contentJSON {
       // Build a readable form of the JSON:
-      let asciiOpenCurlyBracket = UInt8(ascii: "{")
-      let asciiCloseCurlyBracket = UInt8(ascii: "}")
-      var contentJSONAsObject = Data(bytes: [asciiOpenCurlyBracket])
-      contentJSONAsObject.append(contentJSON)
-      contentJSONAsObject.append(asciiCloseCurlyBracket)
+      let contentJSONAsObject = asJSONObject(body: contentJSON)
       // If we can decode it, we can write the readable verbose form:
       if let messageType = Google_Protobuf_Any.messageType(forTypeURL: _typeURL) {
         var any = Google_Protobuf_Any()

    url = typeURL
  }
  visitor.visitAnyVerbose(value: message, typeURL: url)
}

internal class AnyMessageStorage {

          target = try M(jsonString: value)
        }
      } else {
        let contentJSONAsObject = asJSONObject(body: contentJSON)
        target = try M(jsonUTF8Data: contentJSONAsObject)
      }
      return
