Hi Gaurav,
Please try the following Mapping with some changes:
Use the same Mapping for Details Node as used for PersonNumber and Person
Take the input after SplitByValue[ValueChange] from Above and use it as shown below:
[Input1 for FormatbyExample]SplitByValue[ValueChange]--->
FormatbyExample ---> Country
[Input2 for FormatbyExample]Country---->RemoveContext---->
Hope this Helps,
Thanks & Regards,
Tejas Bisen