Remade getJSON to new API call