adding id to json