Changed data sendt from API to JSON