moving from pickledb to json