How to add notes/hierarchy to a flat dataset?