Actually, starting with 8.2604.0 rsyslog supports ...
# voxpupuli
y
Actually, starting with 8.2604.0 rsyslog supports YAML natively (kind of).. so we have chance to simplify things