I used a fetch API to get data from backend server. I returned JSON object data from fetch function and I want to pass every single value in the object to another object.