config: Added from_jsonfile() method