write generated json definition name in json files