converting xml to json using java code