Hi Nida,
This is a bug in the standard XML to JSON conversion of the REST adapter. According to SAP a fix for this should be included in 7.31 SP17 (scheduled for November).
If you need a workaround before that, you can check my response in this thread:
XML to JSON - force Square brackets via SAP PI
Cheers,
Christian