read_config_file function

Read a JSON config file from a path