Converts Record to Map for REST API
Map<String, dynamic> toMap() => { "ttl": ttl, "type": type, "host": host, "value": value, };