Update config_gen.js

Modified the contents of the config file to be in json format