Issue #004 store tag id in JSON metadata