Logstash config JSON parse error

I think you would have to do something in a ruby filter, a bit like this.