db config in json file