Added some compatibility with logstash output
[minor] Style changes. Fixes #201.