added command-line script to generate a tool json file