docs: def make_extra_json_fields(args):
      """
      From the parsed command-line arguments, generate a dictionary of additional
      fields to be inserted into JSON logs (logstash_formatter module)
      """
      extra_json_fields = {
          'data_group': _get_data_group(args.query),
          'data_type': _get_data_type(args.query),
          'data_group_data_type': _get_data_group_data_type(args.query),
          'query': _get_query_params(args.query),
      }
      if "path_to_json_file" in args.query:
          extra_json_fields['path_to_query'] = _get_path_to_json_file(args.query)
      return extra_json_fields