Add a tool to generate json file "data.txt" from generic methods