updated function in order to read json configs
Merge pull request #20 from antoniocapelo/pull_req_config

Update config function in order to read json 'partial' configs