Script to identify whether the content of xml is changed to json properly or not irrespective of order of attributes