convert video source xml to json format