implements logstash v1 formatting

removes unnecessary sys import.
implements logstash v1 formatting
updates version to 0.5.7

fixes #5