adding the correct json