moved xmlToJSON.js to lib directory