Create dockerinfo in one place
Create dockerinfo in one place

Reduce code duplication by defining the DockerInfo struct up front and
then using this object when building the message struct or merging the
json later on.

looplab/logspout-logstash,rchicoli/logspout-logstash,fteychene/logspout-logstash,patresi/logspout-logstash