use pickle instead of json so dont need to serialize
update usage