Fix bad json... we need a validator
Write simple validator for config file
Save our new hook and other utilities