def to_hash
      instance_variables.each_with_object({}) do |var, h|
        h[var[1..-1].to_sym] = instance_variable_get(var)
      end
    end
def to_hash
      instance_variables.each_with_object({}) do |var, h|
        h[var[1..-1].to_sym] = instance_variable_get(var)
      end
    end
Transforms config to the hash with all keys symbolized.

 @return [Hash]