fix bug for convert xml to json