Fix cryptic errors when tests_json_path is missing ref_config

sadly, json.dumps(None) evaluates to the string 'null', which drives things nuts
Maybe make this:

self.run_config_data = json.dumps(run_config) if run_config else None