Fix the cron job: we cannot convert the object into a dict and still think it is an object