moved from xml to json