only use json in celery for serialization. pickle is going to be deprecated soon