Add new var to plot in json