Add item ids; deep clone geometries to make UTF grids friendlier for the web

We might want to not clone here to save time and instead do it in the client, but that's not a pretty optimization from the consumer standpoint.