mispelling
Added the generate json option  to the command line
renamed to source_file_name to make clear this is the original file of the image, never used
ruby syntax change
Created JSON files to test with