adding id to the main json