favorite system now using json for saving