change name to key in line graph json