With json and storing images