Adding resource which will convert the xml to json.