REST API: Is camunda allows to get the sub tree json values?

I have started the process by setting up nested json process variables as following.

{

"variables": {
    "groupid": {
      "type": "integer",
      "value": 123456
    },
    "loanid": {
      "type": "integer",
      "value": 987654
    },
    "memberDetails" :

{
“member”:{
“type”: “integer”,
“value”: 879634
},
“member1”:
{“id”: {
“type”: “integer”,
“value”: 154323},
“idproofvalue”: {
“type”: “string”,
“value”: “SSAAA2211R”
},
“idprooftype”: {
“type”: “string”,
“value”: “1”
}
}
}
}
}

In this data i have memberdetails variable under this i have variables called member and member1. When i am accessing form variables for a task i can’t see the sub tree process variables/values of memberdetails. following is i am getting when accessing form varibales.

{
“busiResponse”: {
“type”: “String”
“value”: “initial”
“valueInfo”: {}
}-
“memCount”: {
“type”: “Long”
“value”: 11
“valueInfo”: {}
}-
“loanid”: {
“type”: “Integer”
“value”: 987654
“valueInfo”: {}
}-
“groupid”: {
“type”: “Integer”
“value”: 123456
“valueInfo”: {}
}-
“cbResponse”: {
“type”: “String”
“value”: “success”
“valueInfo”: {}
}-
“loanId”: {
“type”: “Long”
“value”: 123358
“valueInfo”: {}
}-
“variables”: {
“type”: “Null”
“value”: null
“valueInfo”: {}
}-
}

Is camunda allows to get the sub tree json values?