[Benchmark] [Legend] [UI] Show only basename of JSON path

In the exported PDF file from plot_benchmark.py the legend takes up too much space. This is because the filename of the json file of the experiment is written down including the whole path. If all paths are equal, please use only the basename. If paths differ, please use only the part that is differing + basename.