moved data to the JSON object