Fixed json_decode returning an object instead of an array for db config file.