Hi Soumya,
AFAIK, "Strip Outer Element" just removes the operation of the message. Additionally as you want to remove the header tag, you can go for XML Anoymizer bean before converting it into JSON -
Remove Namespace in PI by XMLAnonymizer Bean in... | SCN
Regards,
Nitin