Changed JSON and added console.log.