adding missing write file statement when converting xml to json
0.1.8