new data plugin re-structure (flatten)