public string GetMessageJSON()
{
/*
Message schema:
type: the message type
version: the version of the service to access
scope: the scope of this message
requestid: the id of this request
data: a JSON object containing the data payload
*/
String json = "{type:'"+type+"',version:'"+version+"',scope:'"+scope+"',data:";
json += Payload;
json += "}";
return json;
}