changed log to the data JSON