fix json formatting
take in config.json path as first parameter