How to remove the structure in response json after deleting certain array?

Hello Everyone,

I have passenger array have 2 objects and only one needs to be removed, I have modified delete keyword and used it for next subsequent action. but still i am able to see the structure as below which also need to be removed , can someone help please.