Revamp config file and pretty print json