updateJson method
Updates the given (json) data with the values stored in this instance
Implementation
void updateJson(Map<String, dynamic> jsonData) {
jsonData['messageId'] = messageId;
jsonData['requestId'] = requestId;
jsonData['timestamp'] = timeStamp;
jsonData['headers'] = headers;
if (body != null) jsonData['body'] = body;
}