Refined xml to json example