def export_value(value, options = nil)
      return if value.nil?
      value.respond_to?(:export) ? value.export(options) : value
    end
def export_value(value, options = nil)
      return if value.nil?
      value.respond_to?(:export) ? value.export(options) : value
    end
Export the value with the provided options.