Read db config from json file