Use types.json to generate dna