fixed problem with filenames of jsons
After the data gets put through the cutter, all files get renamed to xxx_picture.png and xxx_data.json respectively. Before, the function searched for a json called xxx_picture.json which obviously doesn't exist. Now the stem that's used uses the replace() function to replace picture with data