I am getting message output data in logstash but i want to parse it to json

This is messy, pls use the lovely icon </>
Why are using twice json plugin on "message".?
For output is better to use rubydebug.

output{
    stdout {
        codec => rubydebug{}
    }
}