removing all the 'id' keys, which shouldn't be there