Change API format from XML to JSON