re-structure json/ into data/src and data/gen.