Changing String to JsonObject to corrospond with the actual data