fix for python xml to json converter